package com.xiaoshuidi.cloud.module.member.api.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class MemberUserReqDTO {
    @NotNull(message = "手机号不能为空")
    private String mobile;
    private String name;
    private Long companyId;//企业id
    private String cardNo;
    @Schema(description = "紧急联系人信息")
    private List<EmergencyContact> emergencyContacts;
    @Schema(description = "学历")
    private Integer education;
    @Schema(description = "个人地址")
    private String address;
    @Schema(description = "邮箱")
    private String email;
    @Schema(description = "工作单位")
    private String workUnit;

}
